
enum HoleStateEnum {
    空,
    螺丝
}

const { ccclass, property } = cc._decorator;
// const visibleFunc = function () { return this.node && this._edit; };
@ccclass("HoleData")
export default class HoleData {
    _holeState: number = 0;

    @property({ type: cc.Enum(HoleStateEnum) })
    set holeState(v) {
        this._holeState = v;
    }
    get holeState() {
        return this._holeState;
    }

}
